# coding=utf-8
import os, sys
from django.core.wsgi import get_wsgi_application

WEB_ROOT = os.path.dirname(__file__) # X:/WebRoot
PROJECT_ROOT = os.path.join(WEB_ROOT, 'demo') # X:/WebRoot/demo

if WEB_ROOT not in sys.path:
    sys.path.append(WEB_ROOT)
if PROJECT_ROOT not in sys.path:
    sys.path.append(PROJECT_ROOT)

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "demo.settings")
                                            # X:/WebRoot/demo/demo/settings.py

application = get_wsgi_application()

